package com.cpd.blog.common.constant;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * 统一管理属性，自定义配置项
 *
 * @Author: Copydown
 * @Date: 2022/05/06/14:47
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class Properties {

    public static final String ENABLE_SUFFIX = ".enable";

    /**
     * 定时任务相关
     */
    public static final String SCHEDULE_TASK = "schedule";
    public static final String REFRESH_MYSQL_TASK = SCHEDULE_TASK + ".refresh-mysql";
    public static final String ENABLE_MYSQL_TASK = REFRESH_MYSQL_TASK + ENABLE_SUFFIX;

}
